package com.apes.scm.masterdata.finance.repository;

import com.apes.framework.jpa.repository.CustomRepository;
import com.apes.scm.masterdata.finance.model.CrossDefiIC;
import com.apes.scm.masterdata.finance.model.CrossDept;
import com.apes.scm.masterdata.frame.model.Dept;

import java.util.List;

/**
 * @program: apes-server
 * @description
 * @author: czs
 * @create: 2021-06-29 16:19
 **/
public interface CrossDeptRepository extends CustomRepository<CrossDept, String> {
    List<CrossDept> findAllByCrossDefiIC(CrossDefiIC crossDefiIC);

    List<CrossDept> findAllByDept(Dept dept);
}
